package com.tencent.business;

import com.tencent.protocol.sendredpack_protocol.SendRedpackReqData;
import com.tencent.service.SendRedpackService;

public class SendRedpackBusiness {

	public SendRedpackBusiness() throws ClassNotFoundException, IllegalAccessException, InstantiationException{
		this.sendRedpackService = new SendRedpackService();
	}
	
	private SendRedpackService sendRedpackService;
	
	public void run(SendRedpackReqData sendRedpackReqData) throws Exception{
		
		String redpackServiceResponseString;
		
		redpackServiceResponseString = sendRedpackService.request(sendRedpackReqData);
		
		System.out.println(redpackServiceResponseString);
	}
}
